package net.csdn.business.common.domain.vo.notify;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.csdn.business.common.constant.CommonConstants;

import javax.validation.constraints.NotBlank;
import java.util.Date;


/**
 * 通知中心-业务配置对象VO notify_business
 * 
 * @author ruoyi
 * @date 2023-11-27
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class NotifyBusinessVO
{
    private String id;

    /** 通知消息类型:1；通知类:2:验证码 */
    private Integer notifyType;

    /** 业务名称 */
    private String businessName;

    /** 业务编码 */
    private String businessCode;

    /** 业务描述 */
    private String businessDesc;

    /** 被操作的主体类型 */
    private String targetType;

    /** 触发的动作 */
    private String act;

    /** 业务状态：1:打开（默认）；0关闭 */
    private Boolean state;



    @JsonFormat(pattern = CommonConstants.DEFAULT_PATTERN, timezone = CommonConstants.DEFAULT_TIMEZONE)
    private Date createdDate;

    @JsonFormat(pattern = CommonConstants.DEFAULT_PATTERN, timezone = CommonConstants.DEFAULT_TIMEZONE)
    private Date lastModifiedDate;

    private String createdBy;
    private String createdByUserName;
    private String createdByUserPhoto;

    private String lastModifiedBy;


}
